#include <iostream>
#include <climits>

int main(){
    // limits.c是C语言中的记录字节数的文件
    // 在C++中这个文件的名字是climits
    using namespace std;
    
    std::cout << CHAR_BIT << endl;
    std::cout << CHAR_MAX << endl;
    std::cout << CHAR_MIN << endl;
    std::cout << INT_MAX << endl;
    std::cout << INT_MIN << endl;
    std::cout << USHRT_MAX << endl;     //unsigned short max
    std::cout << ULLONG_MAX << endl;    // unsigned long long max
    std::cout << SCHAR_MAX << endl;     // signed char max



    return 0;
}